﻿namespace QuickGet.EntityFrameworkCore.Exceptions
{
    public class UnsupportedException : Exception
    {
        public UnsupportedException(string type, string value) : base()
        {
            this.Type = type;
            this.Value = value;
        }

        public string Type { get; set; }
        public string Value { get; set; }

        public override string Message => string.Format("Unsupported {0}: '{1}'", Type, Value);
    }
}